package com.mall.service;

import com.mall.pojo.Business;
import com.mall.pojo.Commodity;

import java.util.List;

public interface BusinessService {
    Boolean insertBusiness(Business business);

    Business login(String identityCard, String pwd);


    Business loginByPhone(String phone, String pwd);

    List<Commodity> showCommodity(String name, Integer pageSize, Integer offset);

    Integer showCommodityCount(String name);

    Boolean addCommodity(Commodity commodity);
}
